package cc.lj.internal.coupons.domain.ticket.repository;

import cc.lj.internal.core.model.PageParam;
import cc.lj.internal.coupons.infrastructure.po.TicketBatchLifecycleContinuePO;
import cc.lj.internal.coupons.interfaces.dto.TicketBatchDTO;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 电子券批次连续有效期表仓储接口
 * @author liangxifeng
 * @date 2021-12-20
 */
public interface ITicketBatchLifecycleContinueRepository {
    /**
     * 查询未开始的连续有效期数据list
     */
    List<TicketBatchLifecycleContinuePO> getNoStartList();

    /**
     * 查询list
     * @param ticketBatchLifecycleContinuePO
     * @return
     */
    List<TicketBatchLifecycleContinuePO> getList(TicketBatchLifecycleContinuePO ticketBatchLifecycleContinuePO);

    /**
     * 查询在有效期内的数据
     * @param continuePO
     * @return
     */
    List<TicketBatchLifecycleContinuePO> getListValid(TicketBatchLifecycleContinuePO continuePO);
}
